﻿using Itech_Run.Application.Contracts.Shared.Dto;

namespace Itech_Run.Sys.Application.Contracts.Dto
{
    public class SysModuleDto : CustomDto
    {
        public string ApplicationCode { get; set; }
        public string Name { get; set; }

        public int Level { get; set; }

        public string? ParentId { get; set; }

        public string? ParentName { get; set; }

        public string? Url { get; set; }

        public bool? IsShowUI { get; set; }

        public string? IconName { get; set; }

        public int Sort { get; set; }

        public bool IsActive { get; set; }

        public string? AssemblyName { get; set; }

        public string? ApiController { get; set; }

        public ICollection<KeyValueDto> LookupSysButton { get; } = new HashSet<KeyValueDto>();
        public ICollection<KeyValueDto> LookupChilds { get; } = new HashSet<KeyValueDto>();
    }
}
